/**
 * @author emylyano3
 *
 */

package com.design.components;

import java.util.List;

import com.data.IdManager;

public class Button extends DesignComponent implements AttributeTypes {
	
	//**************************************************************************************************
	//	Constructor.
	//**************************************************************************************************
	
	public Button () {
		super(IdManager.BUTTON_PREFIX);
	}
	
	//**************************************************************************************************
	//	Attributes.
	//**************************************************************************************************
	
	public static byte quantity;
	private int linksWith;
	private String name;
	private int position;
	
	//**************************************************************************************************
	//	Public Methods.
	//**************************************************************************************************

	@Override
	public void dumpAttributes(List <String> names, List <String> values) {
		super.dumpCommonAttributes(names, values);
	}
	
	@Override
	public void keepAttributes(List<String> values) {
		
	}
	
	//**************************************************************************************************
	//	Getters & Setters.
	//**************************************************************************************************

	public void setLinksWith(int linksWith) {
		this.linksWith = linksWith;
	}
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	public void setPosition(int position) {
		this.position = position;
	}
	
	public int getPosition() {
		return position;
	}
	public int getLinksWith() {
		return linksWith;
	}
}